﻿using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Xms.Abp.Application.Dtos;

namespace SettingsManagement;

public interface ISettingsManagementAppService : IApplicationService
{
    Task<SettingsInfoResult> GetAsync(string providerName, string providerKey, string typeName);

    Task<PagedResultDto<SettingsInfoListResult>> GetListAsync(string providerName, PagedSortedAndFilterParameter parameter);

    Task SetAsync(string providerName, SettingsUpdateParameter parameter);

    Task ResetAsync(string providerName, SettingsResetParameter parameter);
}
